package com.monitor.entity;


import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;

@TableName("erp_money")
public class ErpMoney  extends Model<ErpMoney> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 客户id
     */
    @TableField("customer_id")
    private Integer customerId;
    /**
     * 应收账款
     */
    @TableField("shou_kuan")
    private Double shouKuan;
    /**
     * 应付账款
     */
    @TableField("fu_kuan")
    private  Double fuKuan;

    /**
     * 收款人员
     * @return
     */
    @TableField("shou_kuan_name")
    private String shouKuanName;
    /**
     * 付款人员
     */
    @TableField("fu_kuan_name")
    private  String fuKuanName;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getCustomerId() {
        return customerId;
    }

    public void setCustomerId(Integer customerId) {
        this.customerId = customerId;
    }

    public Double getShouKuan() {
        return shouKuan;
    }

    public void setShouKuan(Double shouKuan) {
        this.shouKuan = shouKuan;
    }

    public Double getFuKuan() {
        return fuKuan;
    }

    public void setFuKuan(Double fuKuan) {
        this.fuKuan = fuKuan;
    }

    public String getShouKuanName() {
        return shouKuanName;
    }

    public void setShouKuanName(String shouKuanName) {
        this.shouKuanName = shouKuanName;
    }

    public String getFuKuanName() {
        return fuKuanName;
    }

    public void setFuKuanName(String fuKuanName) {
        this.fuKuanName = fuKuanName;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }
}
